<template>
<div class="tab-bar-item">
<!--  <slot name="a"></slot>-->
<!--  <slot name="b"></slot>-->
  <slot name="a">a插槽</slot>
  <slot name="b">b插槽</slot>

</div>
</template>

<script>
export default {
  name: "TabBarItem"
}
</script>

<style scoped>
.tab-bar-item {
  flex: 1;
  text-align: center;
  height: 49px;
  font-size: 14px;
}
.tab-bar-item img {
  height: 24px;
  width: 24px;
  margin-top: 3px;
  vertical-align: middle;
  margin-bottom: 2px;
}
</style>